package com.delivery.mapper;

import com.delivery.entity.DishFlavor;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DishFlavorMapper {

    //批量插入
    void insertBatch(List<DishFlavor> flavors);

    //批量删除
    void deleteBatchByDishId(List<Long> dishIds);

    //根据菜品id查询菜品口味
    List<DishFlavor> selectByDishId(Long dishId);
}
